//
//  StrokeList.h
//  Playground
//
//  Created by Basuke on 08/03/23.
//  Copyright 2008 Basuke's. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Stroke.h"

@interface StrokeList : NSObject {
	NSMutableArray		*strokes;
	NSMutableDictionary	*current;
}

- (void)strokeAllPath:(CGContextRef)context;

- (CGRect)bounds;

- (void)clear;

- (BOOL)isRecording:(NSString *)key;
- (BOOL)isRecording;
- (void)recordPoint:(CGPoint)point forKey:(NSString *)key;
- (void)commitRecording;
- (void)rollbackRecordingForKey:(NSString *)key;
- (void)rollbackRecording;
	
@end
